import type { RouteRecordRaw } from "vue-router";
const routes: RouteRecordRaw[] = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    name: "home",
    component: () => import("@/views/Home/index.vue"),
  },
  {
    path: "/category",
    name: "category",
    component: () => import("@/views/Category/index.vue"),
  },
  {
    path: "/center",
    name: "center",
    component: () => import("@/views/Center/index.vue"),
  },
  {
    path: "/deserve",
    name: "deserve",
    component: () => import("@/views/Deserve/index.vue"),
  },
  {
    path: "/shopcart",
    name: "shopcart",
    component: () => import("@/views/Shopcart/index.vue"),
  },
];

export default routes;
